<template>
  <div class="entire">
    <button @click="send">click</button>
  </div>
</template>

<script setup>
import {API} from "@/api";

const send = async () => {
  await API.user.update()
  console.log("请求结束！")
}
</script>
<style lang="scss" scoped>
.entire {
  width: 100%;
  height: 100%;
}
</style>
